package com.easylinkin.linkappapi.grid.models.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.easylinkin.linkappapi.grid.models.dto.GridRoleDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import site.morn.validate.group.Update;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 网格信息表
 *
 * @author 
 * @since 2024-05-15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GridInfoVO implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "网格ID", name = "id")
    private Integer id;
    /**
     * 网格名称
     */
    @ApiModelProperty(value = "网格名称", name = "gridName")
    private String gridName;
    /**
     * 网格层级
     */
    @ApiModelProperty(value = "网格层级", name = "gridLevel")
    private Integer gridLevel;

    @ApiModelProperty(value = "网格角色集合", name = "roleList")
    private List<GridRoleDTO> roleList;

    @ApiModelProperty(value = "三级网格信息", name = "gridInfo")
    private GridInfoVO gridInfo;
    /**
     * 二维码
     */
    @TableField(value = "qr_code")
    private String qrCode;
}
